<div class="d-beijing-hei-f8"></div>
{if $get.shows ==1}
<div class="container d-gao-10 d-yincang">
</div>
{else}
	
	<div class="container  d-yincang">
	</div>
	
{/if}
{if dr_is_app('certify')}{php $arr=\Phpcmf\Service::C()->get_cache("app-certify");}{/if}
{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $uid)->get()->getRowArray();}
{php $shezhis = \Phpcmf\Service::M()->db->table('1_quan_shezhi')->where('dirname', 'tiezi')->get()->getRowArray();}
{php $shezhi = dr_string2array($shezhis['setting']);}
{if $get.youbian !='1'}
<div class="d-kuangjia d-yincang-pc navbar-fixed-top" style="background-color: #ffffff">
	<div class="d-row">
    	<div class="d-col-md-8">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-bianhua-20 " style="background-color: #ffffff">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="col-md-12 col-xs-12 d-div-zou  d-buhuanhang d-yincang-pc d-huading-100"> 
					    <a href="javascript:goBack();">
					        <img src="{HOME_THEME_PATH}quan/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
						<a href="{CLIENT_URL}index.php?ye=0">
						    <img class="pull-right" src="{HOME_THEME_PATH}quan/img/shouye2.png" height="20"/> 
						</a>
						<div class="pull-right d-zuoyou-20 d-quxian-0 d-buhuanhang">
							<div class="dropdown d-you-10">
								<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
									<i class="fa fa-eye-slash d-wenzi-14"></i>
								</a>
								<ul class="dropdown-menu pull-right" aria-labelledby="d-lahei">
									<li><a href="#" id="laheiuidan" class="laheiuidh5"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑作者</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
									<li><a href="#" id="laheitiezian" class="laheitiezih5"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽帖子</span></br><span class="d-wenzi-12 ">不再看这篇帖子</span></a></a></li>
								</ul>
							</div>
							{if $index['uid'] == $member.id}
								{if $shezhi['pages']['tiezi_bug'] == 1}
									<a id="d_bug_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-bugtiao d-you-10 d-zuo-10">
										{d_bug($id, 1)} Bug
									</a>
								{/if}
								{if $shezhi['pages']['tiezi_jindu'] == 1}
									<a id="d_jindu_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-jindutiao d-you-10 d-zuo-10">
										{d_jindu($id, 1)} 进度
									</a>
								{/if}
								<a onclick="javascript:d_shezhi();">
									<i class="fa fa-cog d-wenzi-14 d-zuo-10"></i>
								</a>
							{elseif $uid == $member.id}
								<a onclick="javascript:d_shezhi();">
									<i class="fa fa-cog d-wenzi-14 d-zuo-10"></i>
								</a>
						
							{/if}
						
							
						</div>
					</div>
				</div>
			</div>
			
		</div>
	</div>
</div>
{/if}
<div class="d-kuangjia">
	<div class="d-row">
		<div class="col-md-2 d-yincang d-piaofu-95" style="z-index: 1000;">
			 <span style="width: 10px; color: #ffffff;">.</span>
			<div class="d-piaofu-0-2">
				
				{template "index-zuobian-quanzi.html"}
			    
			</div>
			
		</div>
		
	    <div class="col-md-7">
			
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 ">
				{if $get.youbian !='1'}
				<div class="d-kuan d-gao-40 d-beijing-baise d-yincang-pc">
					
				</div>
				{/if}
				<div class="d-kuan d-gao-40 d-beijing-baise {if $get.shows ==1}{else}d-yincang{/if}">
					<div class="pull-left">
						
						<a href="javascript:goBack();">
						    <img src="{HOME_THEME_PATH}quan/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
						{if $get.shows ==1}
						<a class="" href="javascript:;">X</a>
						{/if}
						
					</div>
					
				</div>
				<div class="d-shezhi d-xiala-shezhi" style="display: none;">
					<div class="d-container">
						<div class="d-row">
							<div class="d-col-md-8-juzhong d-quxian-0 d-a-baise">
								<!--分享图-->
								<div class="col-xs-12 d-wenzi-juzhong d-quxian-0 d-shang-10">
								<div class="d-kuan d-neikuang-10" onclick="javascript:d_shezhi();"><i class="bi bi-x-circle-fill d-wenzi-18"></i></div>
								</div>
							</div>
						</div>
					</div>
				</div>

				<!--头部-->

				<div class="d-kuan d-zitiyanse-hui-96 d-wenzi-14 d-shang-2">
					<div class="d-clear"></div>
				</div>
				{table table=1_quan_jifen_buy cid=$id page=1 pagesize=100 return=t}
				<div class="d-kuan d-img-100 d-wenzi-16 d-img d-henggun d-p-10" >
					
					<div class="d-shang-15">
						<div class="d-kuan  d-yuanjiao-10 d-quxian-0 ">
							{php $id = $_GET['id'];}
							
							
								<!--列表重复-->
								<div class="d-yuanjiao-10 d-kuan d-beijing-baise">
									<!--头部-->
									<div class="d-kuan d-buhuanhang">
										<!--头部-->
										<div class="d-yuanjiao-10">
											<img src="{dr_avatar($t.uid)}" width="54" height="40" class="d-yuanjiao-50"/>
										</div>
										<div class="d-zuo-10 d-kuan">
											<div class="d-jiacu d-buhuanhang">
												<div class="d-jiacu d-quxian-0">
													<a href="{d_huiyuan_url($t.uid)}">
													{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $t.uid)->get()->getRowArray();}
													{php $user=dr_member_info($t.uid);}
														{if $userweixin.nickname}
															{$userweixin.nickname}
														{elseif $user.name}
															{$user.name}
														{else}
															{$user.username}
														{/if}
													</a>
												</div>
											</div>
											<div class="d-zitiyanse-hui">
												{dr_fdate($t.inputtime)}
											</div>
										</div>
										<!--已阅-->
										<div class="d-kuan-160">
											<div class="d-zuo-10 d-div-you d-buhuanhang d-wenzi-22 d-jiacu d-zitiyanse-hongse">
												<a id="guanzhu_list_{$t.uid}" data-id="{$t.uid}" class="guanzhu_list d-shang-5">
												    已兑换
												</a>
											</div>
								
										</div>
										<!--已阅-->
									</div>
								
									
									
								</div>
							
						</div>
					</div>
					<div class="d-clear">
						
					</div>
					{/table}
					
					
					
					
					
					<div class="d-clear"></div>
					<!--div class="d-gao-70 d-kuan d-yincang-pc"></div-->
				</div>
			</div>
			<div class="d-gao-70"></div>
		</div>
		
		{if $get.youbian != '1'}
		<div class="col-md-3 d-yincang {if $get.shows ==1}{else}d-huading-80{/if} ">

		</div>
		<div class="d-clear"></div>
		{/if}
	</div>
</div>


<!--script src="{HOME_THEME_PATH}web/js/lazyload.js"></script-->
<script>
	/*jQuery(document).ready(
	        function($){
	        $("img").lazyload({
	             placeholder : "{HOME_THEME_PATH}web/img/lazyload.gif", //加载图片前的占位图片
	             effect      : "fadeIn", //加载图片使用的效果(淡入)
	             threshold : 1000
	             
	        });
	    });*/

		// 免费加入用户组
		$(".tag_yonghuzu").click(function(){
		    var id = $(this).data("id");
		    $.get("{dr_url_prefix('index.php')}?s=member&app=quan&c=jiaru&m=mianfei&id={$id}", function(data){
		        dr_cmf_tips(data.code, data.msg);
		        if (data.code==1) {
					layer.msg(data.msg,{time:1000});
					//$('#module_favorite_'+id).html(data.data);
				}
		    }, 'json');
		});
		// 积分加入用户组
		$(".tag_yonghuzu_jifen").click(function(){
		    var id = $(this).data("id");
		    $.get("{dr_url_prefix('index.php')}?s=member&app=quan&c=jiaru&m=jifen&id={$id}", function(data){
		        dr_cmf_tips(data.code, data.msg);
		        if (data.code==1) {
					layer.msg(data.msg,{time:1000});
					history.back();
					//$('#module_favorite_'+id).html(data.data);
				}
		    }, 'json');
		});
		// 经验加入用户组
		$(".tag_yonghuzu_jingyan").click(function(){
		    var id = $(this).data("id");
		    $.get("{dr_url_prefix('index.php')}?s=member&app=quan&c=jiaru&m=jingyan&id={$id}", function(data){
		        dr_cmf_tips(data.code, data.msg);
		        if (data.code==1) {
					layer.msg(data.msg,{time:1000});
					//$('#module_favorite_'+id).html(data.data);
				}
		    }, 'json');
		});
</script>
<style>
	.d-xiala-shezhi {
	    z-index: 999999;
	    position: fixed;
	    bottom: 0px;
	    width: 100%;
	    height: 40%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(255, 255, 255, 1.0);
	}
	.d-xiala-fenxiang {
	    z-index: 999999;
	    position: fixed;
	    bottom: 0px;
	    width: 100%;
	    height: 40%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(255, 255, 255, 1.0);
	}
	.d-xiala-weixin {
	    z-index: 999999;
	    position: fixed;
	    top: 0px;
	    width: 100%;
	    height: 60%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(54, 54, 54, 0.9);
	}
	.pager li>a, .pager li>span {
	    display: inline-block;
	    padding: 5px 14px;
	    background-color: #fff;
	    border: 1px solid #fff;
	    border-radius: 15px;
	}
	.d-bisai-beijing {
	    background-color: #eaeaea;
		top:300px;
		border-radius: 10px !important;
	    /*height: 300px;*/
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		
		/*background-image:url('{HOME_THEME_PATH}web/img/manyidanan.png');*/
	}
	.d-bisai-gao {
		height: 20px;
	}
	.d_zhongbiao_queren {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		right: 0;
		height: 100%;
		overflow: auto;
		background: #444444;
		background-color: rgba(143, 143, 143, 0.9);
	}
	.d-daan-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}web/img/manyidanan.png');
	}
	.d-jiangli-tanchu {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		height: 100%;
		overflow: auto;
		/*background: #444444;
		background-color: rgba(143, 143, 143, 0.9);*/
	}
	.d-jiangli-kuan {
	    /* background-color: #eaeaea; */
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 15% auto 0 auto;
	    z-index: 99999;
	}
	.d-jiangli-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}jiangli/jianglitu.png');
	}
	.d-jiangli-gao {
		height: 120px;
	}
	.d-jiangli-zhi {
		font-size: 25px;
		color: #ff5202;
	}
	@media screen and (max-width: 990px) {
		.d-jiangli-kuan {
		    /* background-color: #eaeaea; */
		    height: 300px;
			width: 300px;
		    /* width: 100%; */
		    text-align: center;
		    /*position: fixed;*/
		    margin: 60% auto 0 auto;
		    z-index: 99999;
		}
		
	}
	.d-henggun {
	
	    max-width: 100%;
	    overflow-x: hidden;
	    overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	tbody p {
	    margin: 5px 0;
	}
.d-pinglun-tanchu {
	display: block;

}
.kaiguan {
	display: none;
}
@media screen and (max-width: 700px) { /*当屏幕尺寸小于1200px时，应用下面的CSS样式*/
	body {
        height: 100%;
        background-color: #ffffff;
    }
	.d-henggun {
		max-width: 400px;
		overflow-x: scroll;
		overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.d-henggun::-webkit-scrollbar {
	    width: 4px;
	    height: 1px;
	}
	.d-henggun::-webkit-scrollbar-track {
			-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0);
			border-radius: 0;
			background-color: #ffffff;
		}
	.d-henggun::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
		border-radius: 0;
		background-color: #ffffff;
	}
	.d-pinglun-tanchu {
		background-color: #f3f4f7;
		position: fixed;
		height: 100%;
		width: 100%;
		overflow: auto;
		display: none;
		z-index: 2000;
		bottom: 0px;
	}
}
table {  
    width: 100%;  
	border-collapse: collapse;  
	border: 1px solid #ebebeb;  
	border-radius: 10; /* 设置表格的圆角 */  
	overflow: hidden; /* 防止圆角被内容溢出所遮盖 */  
	margin-bottom:10px;
	margin-top:10px;
	display:table;
  }  
  th, td {  
    padding: 8px;  
    text-align: left; 
	border: 1px solid #ebebeb;
  } 
/*br{
        display: none;
		line-height: 0.5;
    }*/
	.btn.green:not(.btn-outline).active, .btn.green:not(.btn-outline):active, .btn.green:not(.btn-outline):hover, .open>.btn.green:not(.btn-outline).dropdown-toggle {
	    color: #FFF;
	    background-color: #11d2b5;
	    border-color: #11d2b5;
	}
	.btn.green:not(.btn-outline) {
	    color: #FFF;
	    background-color: #11d2b5;
	    border-color: #11d2b5;
	}
	.d-huiyuan-0{
		background: linear-gradient(to right, #28304a, #514967);
		color: #ffe4de;
		/*background: linear-gradient(to right, #c8cbd5, #d4dbe2);
		color: #555d6e;*/
	}
</style>

{template "fanhui.html"}